package cn.hjh.dao.provider;

import cn.hjh.entity.Bill;
import cn.hjh.entity.Provide;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ProviderMapper {

    int pro();

    List<Provide> list();

    public int add(Provide provide);

    public int update(Provide provide);

    public int deleteId(@Param("id")Integer delId);

    public List<Provide> getBillListByUserId(@Param("id")Integer id);

    public List<Provide> getBillListByUserName(@Param("proCode")String proCode,@Param("proName")String proName);

    public int upda(Provide provide);

    public List<Provide> getProvide_shoose(@Param("proCode")String proCode, @Param("proName")String proName, @Param("proContact")String proContact, @Param("creationDate")Date creationDate);

    public List<Provide> getProvide(@Param("beginIndex")Integer beginIndex,@Param("pageSize")Integer pageSize);/*@Param("proCode")String proCode,@Param("proName")String proName,*/
}
